<div id="fb-root"></div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script>
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=<!--[$APP_ID]-->";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

	window.fbAsyncInit = function() {
        FB.init({
            appId:  '<!--[$APP_ID]-->',
            status: true,
            cookie: true,
            xfbml:  true
        });

        FB.Event.subscribe('comment.create', function(response) {
				$.post("<!--[$Config.create.callbackurl]-->", {json: response},
					function(data) {
					   
					},
					"json"
				);
        });   
		
        FB.Event.subscribe('comment.remove', function(response) {
				$.post("<!--[$Config.remove.callbackurl]-->", {json: response},
					function(data) {
					},
					"json"
				);
        }); 
    };
	


	
</script>
<div class="FacebookConnect-Comment" style="float:left;">
<div class="fb-comments" data-href="<!--[$CurrentURL]-->" data-num-posts="30" data-width="680"></div>
</div>